import React, { Component } from 'react'
import { TouchableOpacity, Text } from 'react-native'
import commonStyle from '../../../libs/commonStyle'
export default class RBtn extends Component {
	render() {
		return (
			<TouchableOpacity
				onPress={this.props.onBtnHandle}
				style={[
					commonStyle.m20,
					commonStyle.w240,
					commonStyle.h70,
					commonStyle.flexCenter,
					commonStyle.circle50,
					commonStyle.activeBorderColor,
					commonStyle.activeColor,
					{
						borderWidth: 0.5,
						borderRadius: 30
					}
				]}
			>
				<Text style={[commonStyle.activeColor, commonStyle.f36]}>
					{this.props.title}
				</Text>
			</TouchableOpacity>
		)
	}
}
